home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Nejlepší České Hry 2007
/
Nejlepší české hry 2007.iso
/
hry
/
Becher Tycoon
/
scripts
/
GUI.scr
< prev
next >
Wrap
Text File
|
2006-08-30
|
6KB
|
194 lines
// new buttonstyle nbutt;
// styly pre upravu terenu
new buttonstyle ter_flat;
with ter_flat;
unPrTexture = 'data/GUI/tlacitka.png';
PrTexture = 'data/GUI/tlacitka.png';
unPrUV = rect(424,370,424+38,370+38);
PrUV = rect(424,370,424+38,370+38);
unPrSize = makepoint(38,38);
unPrColor = colorrgba(235,235,235,200);
unPrOffset = makepoint(0,0);
PrSize = makepoint(38,38);
PrColor = colorrgba(235,235,235,200);
PrOffset = makepoint(0,0);
transTime = 200;
fontColor = colorrgba(0,0,0,255);
fontRect = rect(5,5,5,5);
fontName = 'Freebooter';
fontwidth = 10;
fontHeight = 30;
fontWeight = 3;
highlite = 1;
hiSize = makepoint(38,38);
hiOffset = makepoint(0,0);
hiTrTime = 200;
hiColor = colorrgba(255,255,255,255);
without;
new buttonstyle ter_up;
ter_up = copybs(ter_flat);
ter_up.unPrUV = rect(375,370,375+38,370+38);
ter_up.PrUV = rect(375,370,375+38,370+38);
new buttonstyle ter_down;
ter_down = copybs(ter_flat);
ter_down.unPrUV = rect(326,370,326+38,370+38);
ter_down.PrUV = rect(326,370,326+38,370+38);
new buttonstyle bager;
bager = copybs(ter_flat);
bager.unPrUV = rect(277,370,277+38,370+38);
bager.PrUV = rect(277,370,277+38,370+38);
new buttonstyle mouse;
mouse = copybs(ter_flat);
mouse.unPrUV = rect(473,290,473+38,290+38);
mouse.PrUV = rect(473,290,473+38,290+38);
new buttonstyle railway;
railway = copybs(ter_flat);
railway.unPrUV = rect(277,290,277+38,290+38);
railway.PrUV = rect(277,290,277+38,290+38);
new buttonstyle railwaystation;
railwaystation = copybs(ter_flat);
railwaystation.unPrUV = rect(375,290,375+38,290+38);
railwaystation.PrUV = rect(375,290,375+38,290+38);
new buttonstyle railwaydepo;
railwaydepo = copybs(ter_flat);
railwaydepo.unPrUV = rect(424,290,424+38,290+38);
railwaydepo.PrUV = rect(424,290,424+38,290+38);
new buttonstyle road;
road = copybs(ter_flat);
road.unPrUV = rect(277,329,277+38,329+38);
road.PrUV = rect(277,329,277+38,329+38);
new buttonstyle road2;
road2 = copybs(ter_flat);
road2.unPrUV = rect(326,329,326+38,329+38);
road2.PrUV = rect(326,329,326+38,329+38);
new buttonstyle road2dark;
road2dark = copybs(road2);
road2dark.unPrColor = colorrgba(150,150,150,160);
road2dark.PrColor = colorrgba(150,150,150,160);
road2dark.hiColor = colorrgba(150,150,150,160);
new buttonstyle roadstation;
roadstation = copybs(ter_flat);
roadstation.unPrUV = rect(424,329,424+38,329+38);
roadstation.PrUV = rect(424,329,424+38,329+38);
new buttonstyle roadgarage;
roadgarage = copybs(ter_flat);
roadgarage.unPrUV = rect(473,329,473+38,329+38);
roadgarage.PrUV = rect(473,329,473+38,329+38);
new buttonstyle becherdistsml;
becherdistsml = copybs(ter_flat);
becherdistsml.unPrUV = rect(473,370,473+38,370+38);
becherdistsml.PrUV = rect(473,370,473+38,370+38);
new buttonstyle becherdistbig;
becherdistbig = copybs(ter_flat);
becherdistbig.unPrUV = rect(473,410,473+38,410+38);
becherdistbig.PrUV = rect(473,410,473+38,410+38);
new buttonstyle rectal;
rectal = copybs(ter_flat);
rectal.unPrTexture = 'data/GUI/test1.png';
rectal.PrTexture = 'data/GUI/test1.png';
new buttonstyle mmenuexit;
with mmenuexit;
unPrTexture = 'data/GUI/MainMenuButtons.png';
PrTexture = 'data/GUI/MainMenuButtons.png';
unPrUV = rect(0,0,64,64);
PrUV = rect(0,0,64,64);
unPrSize = makepoint(64,64);
unPrColor = colorrgba(230,230,230,255);
unPrOffset = makepoint(0,0);
PrSize = makepoint(64,64);
PrColor = colorrgba(230,230,230,255);
PrOffset = makepoint(0,0);
transTime = 200;
fontColor = colorrgba(0,0,0,255);
fontRect = rect(5,5,5,5);
fontName = 'Freebooter';
fontwidth = 10;
fontHeight = 30;
fontWeight = 3;
highlite = 1;
hiSize = makepoint(64,64);
hiOffset = makepoint(0,0);
hiTrTime = 200;
hiColor = colorrgba(255,255,255,255);
without;
new buttonstyle mmenuabout;
mmenuabout = copybs(mmenuexit);
mmenuabout.unPrUV = rect(64,0,128,64);
mmenuabout.PrUV = rect(64,0,128,64);
new buttonstyle mmenustart;
mmenustart = copybs(mmenuexit);
mmenustart.unPrUV = rect(128,0,192,64);
mmenustart.PrUV = rect(128,0,192,64);
new buttonstyle mmenu_road;
with mmenu_road;
unPrTexture = 'data/GUI/tlacitka.png';
PrTexture = 'data/GUI/tlacitka.png';
unPrUV = rect(362,129,362+60,129+41);
PrUV = rect(362,129,362+60,129+41);
unPrSize = makepoint(60,40);
unPrColor = colorrgba(255,255,255,255);
unPrOffset = makepoint(0,0);
PrSize = makepoint(64,64);
PrColor = colorrgba(225,225,225,255);
PrOffset = makepoint(0,0);
transTime = 200;
fontColor = colorrgba(0,0,0,255);
fontRect = rect(5,5,5,5);
fontName = 'Freebooter';
fontwidth = 10;
fontHeight = 30;
fontWeight = 3;
highlite = 1;
hiSize = makepoint(64,64);
hiOffset = makepoint(0,0);
hiTrTime = 200;
hiColor = colorrgba(255,255,255,255);
without;
new buttonstyle mmenu_train;
mmenu_train = copybs(mmenu_road);
mmenu_train.unPrUV = rect(422,129,422+60,129+41);
mmenu_train.PrUV = rect(422,129,422+60,129+41);
new buttonstyle mmenu_traindark;
mmenu_traindark = copybs(mmenu_train);
mmenu_traindark.unPrColor = colorrgba(150,150,150,160);
mmenu_traindark.PrColor = colorrgba(150,150,150,160);
mmenu_traindark.hiColor = colorrgba(150,150,150,160);
new buttonstyle mmenu_build;
mmenu_build = copybs(mmenu_road);
mmenu_build.unPrUV = rect(362,170,362+60,170+41);
mmenu_build.PrUV = rect(362,170,362+60,170+41);
new buttonstyle mmenu_stats;
mmenu_stats = copybs(mmenu_road);
mmenu_stats.unPrUV = rect(422,170,422+60,170+41);
mmenu_stats.PrUV = rect(422,170,422+60,170+41);
end.